home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
util
/
libs
/
prooflibrary10.lha
/
prooflibrary
/
examples
/
create
/
scale.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-01-30
|
275b
|
17 lines
#define EPSILON 0.0001
typedef enum
{
MinifyX_MinifyY,
MinifyX_MagnifyY,
MagnifyX_MinifyY,
MagnifyX_MagnifyY
} ScaleType;
struct PixelRegion
{
UBYTE *buf; // Image buffer
int w, h; // Buffer width and height
int bytes; // Width of one pixel in bytes (normally 3)
};